import { S } from '../../s';
import { IPSChartCoordinateSystemGeo } from './ipschart-coordinate-system-geo';
import { IPSChartGeo } from './ipschart-geo';
import { PSDEChartCoordinateSystemImplBase } from './psdechart-coordinate-system-impl-base';

export class PSDEChartCoordinateSystemGeoImpl
  extends PSDEChartCoordinateSystemImplBase
  implements IPSChartCoordinateSystemGeo
{
  protected pschartgeo: IPSChartGeo;
  getPSChartGeo(): IPSChartGeo | null {
    return (
      this.pschartgeo ||
      (this.pschartgeo = this.fillObjectModel(
        S._f4,
        this.M.getPSChartGeo,
        S._2fb,
      ) as IPSChartGeo)
    );
  }
  get cls(): string {
    return 'PSDEChartCoordinateSystemGeoImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._e8) return true;
    return super.instanceof(cls);
  }
}
